package cn.tramy.pinxian.wind.handler.dispatch

import cn.tramy.pinxian.wind.handler.HandlerInfo

class DispatchTask(private val handlerInfo: HandlerInfo<Any>, private val message: Any) {
    fun run() {
        handlerInfo.handle(message)
    }
}